﻿using GraphProcessor;
using IQIGame.Onigao.Logic;
using UnityEngine;

namespace IQIGame.Onigao.GamePlay.Editors
{
    [System.Serializable, NodeMenuItem(SkillEditorConst.SkillEffective + "/" + SkillEditorConst.ReplaceSkillType, typeof(SkillEditorGraph))]
    public class SkillEffectiveNode_ReplaceSkillType : SkillEffectiveNode
    {
        protected override ESkillEffectiveType effectType => ESkillEffectiveType.ReplaceSkillType;
        public ESkillType skilltype;
        protected override SkillCustomConfig CreateConfig()
        {
            return new SkillEffective_RepalceSkillType_ConfigData()
            {
                skillType = (int)this.skilltype
            };
        }
    }
}